﻿@model KhuyenMaiVang.DAL.Address
<script type="text/javascript">
      <!--
    $(function () {
        $("#tabs").tabs();
    });
        -->   
</script>
<div id="tabs">
    <ul>
        <li><a href="#dialog-bangdo">Bảng đồ</a></li>
    </ul>
    <div id="dialog-bangdo">
        @{
                System.Globalization.CultureInfo us = new System.Globalization.CultureInfo("en-US");
                var lattitude = 10.76272.ToString(us);
                var longtitude = 106.6825.ToString(us);
                var vido = Model.Latitude.ToString(us);
                var kinhdo = Model.Longitude.ToString(us);
                string src = String.Format("http://maps.googleapis.com/maps/api/staticmap?center={0},{1}&zoom=11&size=512x512&maptype=roadmap&markers=color:blue%7Clabel:S%7C{0},{1}&markers=color:green%7Clabel:Y%7C{2},{3}&sensor=false", vido, kinhdo, lattitude, longtitude);
            <img src="@src" alt="Loadding..."/>
        }
    </div>
</div>
